import java.util.Scanner;
public class Test1 {
    public static void main(String[] args) {
        System.out.println("三位数：");
        Scanner scanner = new Scanner(System.in);
        int input = scanner.nextInt();
        int gewei = input%10;
        int shiwei = input/10%10;
        int baiwei = input/100;
        System.out.println("数字"+input+"的个位是"+gewei +", 十位是"+shiwei+", 百位是"+baiwei);


    }
}
